<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>{{ Config::get('app.app_name_cn') }}</title>

    <link href="{{ Config::get('website.storage_url') }}/admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="{{ Config::get('website.storage_url') }}/admin/font-awesome/css/font-awesome.css" rel="stylesheet">

    <link href="{{ Config::get('website.storage_url') }}/admin/css/animate.css" rel="stylesheet">
    <link href="{{ Config::get('website.storage_url') }}/admin/css/style.css" rel="stylesheet">

</head>

<body class="gray-bg">

    <div class="middle-box text-center loginscreen animated fadeInDown">
        <div style="padding-top: 200px;">
            @if (count($errors) > 0)
                <div class="alert alert-warning alert-dismissable">
                    <button aria-hidden="true" data-dismiss="alert" class="close" type="button">×</button>
                    @foreach ($errors->all() as $error)
                        {{ $error }}</br>
                    @endforeach
                </div>
            @endif
            <form class="m-t" role="form" action="{{ asset('login/login') }}" method="post">
                <input type="hidden" name="_token" value="{{ csrf_token() }}">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="用户名" required="" name="mobile">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" placeholder="密码" required="" name="password">
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">登陆</button>
            </form>
            <p class="m-t"> <small>{{ Config::get('app.app_name_cn') }}管理中心 © 2015</small> </p>
        </div>
    </div>

    <!-- Mainly scripts -->
    <script src="{{ Config::get('website.storage_url') }}/admin/js/jquery-2.1.1.js"></script>
    <script src="{{ Config::get('website.storage_url') }}/admin/js/bootstrap.min.js"></script>

</body>

</html>
